import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';

import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';

import VueQuillEditor from  'vue-quill-editor'

import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'


import '@/assets/css/reset.css';
import '@/assets/css/index.css';

import axios from './util/axios';

// 复杂组件的通信
Vue.prototype.$bus = new Vue();


axios.get('/fav/findMyFav?pageNum=1&pageSize=2&user_id=6').then(res => {console.log(res)});



Vue.use(ViewUI);
Vue.use(VueQuillEditor)
Vue.config.productionTip = false
Vue.prototype.$Bus = new Vue()

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')